package source;

public abstract class UnitFactory {
	
	public static Unit makeUnit(UnitType u, PlayerStatus p, Tile position)
	{
		switch(u)
		{
		case COLONIST:
			return new Colonist(u, p, position);
			
		case RANGED:
			return new RangedUnit(u, p, position);
			
		default:
			return new Unit(u, p, position);
		}
	}

}
